package com.geek.game.manager.agent.model;

import com.fasterxml.jackson.annotation.JsonIgnore;

import ydh.cicada.api.Column;
import ydh.cicada.api.Entity;
import ydh.cicada.api.Id;

/**
 * Created by star on 2016/9/30.
 */
@Entity(name="player")
public class Player {

	@Id
	@Column(name="id")
    private String id;
	@JsonIgnore
	@Column(name="open_id")
    private String openId;
	@Column(name="sex")
    private Integer sex;
	@Column(name="online")
    private Integer online;
	
	@Column(name="locked")
    private Integer locked;
	
	@Column(name="nick_name")
    private String nickName;
	
	@Column(name="diamond")
    private Integer diamond;
	
	@Column(name="room")
    private Integer room;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }

    public Integer getLocked() {
        return locked;
    }

    public void setLocked(Integer locked) {
        this.locked = locked;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getDiamond() {
        return diamond;
    }

    public void setDiamond(Integer diamond) {
        this.diamond = diamond;
    }

    public Integer getRoom() {
        return room;
    }

    public void setRoom(Integer room) {
        this.room = room;
    }
}
